CleverReach\WordPress\Components\BusinessLogicServices\Recipient_Service A

Total Complexity 62
Dependencies 21
Dependents 5
Total lines 566
Lines of code 264
Logical lines of code 145
Comment lines 204
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
get_formatted_recipient_ids()
S
54 6 21
create_contact_recipient()
S
52 5 22
get_first_and_last_name()
S
59 4 15
get_user_language()
S
60 4 12
is_recipient_newsletter()
S
61 4 12
getAllRecipientsIds()
S
56 3 21
get_date()
S
63 4 10
getRecipientsWithTags()
S
63 3 10
create_user_recipient()
S
54 1 21
get_contact_repository()
S
71 2 6
get_recipient_repository()
S
71 2 6
get_config_service()
S
71 2 6
get_contact_special_tags()
S
67 2 8
get_user_special_tags()
S
68 2 8
get_role_repository()
S
71 2 6
get_sites()
S
79 2 3
get_formatted_tags()
S
67 2 8
get_formatted_contact_recipients()
S
64 2 10
get_formatted_user_recipients()
S
67 2 8
add_prefix_to_recipient_ids()
S
69 2 7
get_recipient_tags()
S
61 1 14
getAllTags()
S
63 1 13
getAllSpecialTags()
S
70 1 8
get_roles()
S
81 1 3
format_contact_language()
S
75 1 4
recipientSyncCompleted()
S
91 1 2